home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / gtk-2.0 / gdk-pixbuf / gdk-pixbuf-simple-anim.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-04-25  |  2.5 KB  |  55 lines

  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
  2. /* GdkPixbuf library - Simple frame-based animations
  3.  *
  4.  * Copyright (C) 2004 Dom Lachowicz
  5.  *
  6.  * Authors: Dom Lachowicz <cinamod@hotmail.com>
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Lesser General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  * Lesser General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Lesser General Public
  19.  * License along with this library; if not, write to the
  20.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  21.  * Boston, MA 02111-1307, USA.
  22.  */
  23.  
  24. #ifndef GDK_PIXBUF_SIMPLE_ANIM_H
  25. #define GDK_PIXBUF_SIMPLE_ANIM_H
  26.  
  27. #include <gdk-pixbuf/gdk-pixbuf-animation.h>
  28.  
  29. G_BEGIN_DECLS
  30.  
  31. typedef struct _GdkPixbufSimpleAnim GdkPixbufSimpleAnim;
  32. typedef struct _GdkPixbufSimpleAnimClass GdkPixbufSimpleAnimClass;
  33.  
  34. #define GDK_TYPE_PIXBUF_SIMPLE_ANIM              (gdk_pixbuf_simple_anim_get_type ())
  35. #define GDK_PIXBUF_SIMPLE_ANIM(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_PIXBUF_SIMPLE_ANIM, GdkPixbufSimpleAnim))
  36. #define GDK_IS_PIXBUF_SIMPLE_ANIM(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF_SIMPLE_ANIM))
  37.  
  38. #define GDK_PIXBUF_SIMPLE_ANIM_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_PIXBUF_SIMPLE_ANIM, GdkPixbufSimpleAnimClass))
  39. #define GDK_IS_PIXBUF_SIMPLE_ANIM_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_PIXBUF_SIMPLE_ANIM))
  40. #define GDK_PIXBUF_SIMPLE_ANIM_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_PIXBUF_SIMPLE_ANIM, GdkPixbufSimpleAnimClass))
  41.  
  42. GType gdk_pixbuf_simple_anim_get_type (void) G_GNUC_CONST;
  43. GType gdk_pixbuf_simple_anim_iter_get_type (void) G_GNUC_CONST;
  44.  
  45. GdkPixbufSimpleAnim *gdk_pixbuf_simple_anim_new           (gint   width, 
  46.                                                            gint   height,
  47.                                                            gfloat rate);
  48. void                 gdk_pixbuf_simple_anim_add_frame     (GdkPixbufSimpleAnim *animation,
  49.                                                            GdkPixbuf           *pixbuf);
  50.  
  51. G_END_DECLS
  52.  
  53.  
  54. #endif  /* GDK_PIXBUF_SIMPLE_ANIM_H */
  55.